<h1><?php echo $label ?></h1>
<div class="korvinfobox">
	<?php foreach($addresses as $address): ?>
	<div class="korvinfoboxrow">
		<div class="korvinfoboxleft bottom"></div>
		<div class="korvinfoboxright">
			<h2><?php echo sprintf('%s, %s, %s, %s, %s', $address['address'],$address['city'],$address['state'],$address['zip'],$address['country']) ?></h2>
		</div>
		<div class="clear"></div>
	</div>
	<div class="korvinfoboxrow">
		<div class="korvinfoboxleft bottom">
			<div class="radio"></div>
		</div>

		<div class="korvinfoboxright">
			<div class="bluebutton">
				<div class="bluebuttonleft"><img src="/enermaatik/img/bbl.png" width="8" height="26" alt=""/></div>
				<div class="bluebuttoncenter">
					<p><a class="edit_address" href="<?php echo $address['id'] ?>"><?php echo __('muuda') ?></a></p>
				</div>
				<div class="bluebuttonright"><img src="/enermaatik/img/bbr.png" width="8" height="26" alt=""/></div>
				<div class="clear"></div>

			</div>
		</div>
		<div class="clear"></div>
	</div>
	<?php endforeach; ?>

	<div class="korvinfoboxrow">
		<div class="korvinfoboxleft bottom"></div>
		<div class="korvinfoboxright">
			<h2><?php echo __("lisa uus") ?></h2>
		</div>
		<div class="clear"></div>
	</div>
	<div class="korvinfoboxrow">
		<div class="korvinfoboxleft bottom">
			<div class="radio"></div>
		</div>

		<div class="korvinfoboxright">
			<div class="bluebutton">
				<div class="bluebuttonleft"><img src="/enermaatik/img/bbl.png" width="8" height="26" alt=""/></div>
				<div class="bluebuttoncenter">
					<p><a class="edit_address" href="<?php echo $type ?>"><?php echo __('lisa') ?></a></p>
				</div>
				<div class="bluebuttonright"><img src="/enermaatik/img/bbr.png" width="8" height="26" alt=""/></div>
				<div class="clear"></div>

			</div>
		</div>
		<div class="clear"></div>
	</div>

</div>